package com.dj.product.k2faas.common.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Created by 丁建 on 2025/9/23 08:32
 *
 * @author 丁建
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@Accessors(chain = true)
public class ErrorResponse {
    /**
     * 状态码小于400时是正常响应
     */
    private int status;

    private String message;

    /**
     * 仅在DefaultExceptionHandler的日志级别设置为debug时返回
     */
    private String debugInfo;

}
